package com.kedacom.emptyproject

import android.content.Intent
import android.os.Bundle
import android.support.v7.app.AppCompatActivity
import com.kedacom.emptyproject.map.activity.MapLayerActivity
import kotlinx.android.synthetic.main.activity_main.*

class MainActivity : AppCompatActivity() {
    override fun onCreate(savedInstanceState: Bundle?) {
        super.onCreate(savedInstanceState)
        setContentView(R.layout.activity_main)
        tv_test.text = "进入地图"
        tv_test.setOnClickListener {
            startActivity(Intent(this, MapLayerActivity::class.java))
        }
        startActivity(Intent(this, MapLayerActivity::class.java))
    }
}